package com.flydog.taskManager.common.vaildator;

import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.*;

/**
 * 简报类约束
 *
 * @author caoweidong
 * @version 0.0.0
 * @create 2021/7/1 15:29
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Constraint(validatedBy = BriefValidatorClass.class)
public @interface BriefValidator {
    String message() default "简报参数验证错误";

    Class<?>[] groups() default {};

    Class<? extends Payload>[] payload() default {};
}
